<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.getSystem()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
			
		},
		methods:{
			getSystem(){
				httpRequest.request('/api/v1/protocol/getProtocol', 'GET', {
					protocolType:"fence_radius"
				}, false, false, true).then(res => {
					console.log("系统配置",res);
					uni.setStorageSync("fence_radius",res.data.protocolContent)
				})
			},
		}
	}
</script>
<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	@import url("static/css/main1.css");
	@import url("static/css/last.scss");
	.tpbox {
		width: 33.33%;
		margin-top: 30rpx;
	}
	.qiqiqi{
		color: #777;
	}
	.tjtp {
		width: 209rpx;
		height: 209rpx;
		position: relative;
	
		image {
			border-radius: 10rpx;
			width: 100%;
			height: 100%;
		}
	}
	.xiahuaxian {
		border-bottom: 2rpx solid rgba(0, 0, 0, .03);
		padding-bottom: 30rpx;
	}
</style>
